package com.test.bean;

import java.util.List;

import org.springframework.stereotype.Service;
//@Service
public class Teacher {

	private String teacher_id;
	private String teacherName;
	private List<Student> students;  //一个导师对应多个学生

	public String getTeacher_id() {
		return teacher_id;
	}
	public void setTeacher_id(String teacher_id) {
		this.teacher_id = teacher_id;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	public List<Student> getStudents() {
		return students;
	}
	public void setStudents(List<Student> students) {
		this.students = students;
	}

}